package com.cxd.mapper;
import com.cxd.entity.EbComment;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface EbCommentMapper {
    public List<EbComment>listByPage(@Param("from") int from, @Param("pageSize") int pageSize);
    public EbComment selectByCondition(Integer ecId);
    public int updateById(EbComment ebComment);
    public int delete(Integer ecId);
    /**
     *根据pageSize获取表的总页数
     * @param pageSize 每页显示的条数
     * @return
     */
    Integer getTotalPage(Integer pageSize);
    public int save(EbComment ebComment);

}
